<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<title>代理商申请</title>
        <link rel="stylesheet" href="${ctx }/css/layui.css">
        <%@include file="../common/common.jsp"%> 
		<script type="text/javascript" src="${ctx }/js/layer-v1.9.2/layer/layer.js"></script>
        <script type="text/javascript" src="${ctx}/js/layer-v1.9.2/layer/layui.js"></script>
	</head>
	<body>
		<%@include file="../common/header.jsp"%>
		<%@include file="../common/headerMemberInfo.jsp"%>
		<input type="hidden" value="agent" id="settingClass">
		<div class="vip_main vip_setting agent container clearfix">
			<%@include file="../common/leftMemberInfo.jsp"%>
			<div class="right l">
				<p class="red">申请代理</p>
				<form action="${ctx }/member/">
					<input type="hidden" name="mId" id="mId" />
					<p>
						<label for="">公司名称</label>
						<input type="text" name="companyName" id="companyName" placeholder="请输入公司名称" required/>
					</p>
					<p>
						<label for="">联系人</label>
						<input type="text" name="linkman" id="linkman" placeholder="请输入联系人姓名" required/>
					</p>
					<p>
						<label for="">联系电话</label>
						<input type="text" name="phone" id="phone" placeholder="请输入联系电话" required/>
					</p>
					<p>
						<label for="">代理等级</label>&#x3000;
						<select name="agentGrade" id="agentGrade"> 
							<option>--请选择--</option>
						</select>
					</p>
					<p class="upload_pic clearfix">
						<label for="" class="l">营业执照</label>
						<span class="l"></span>
						<input type="file" name="agentImg" id="agentImg" onchange="setImagePreview();" /><br />			
					</p>
					<i class="red">请保证上传的图片清晰</i><br />
					<button type="button" id="confirm">提交申请</button>
				</form>
			</div>
		</div>
		<!--底部-->-
		<%@include file="../common/bottom.jsp"%>
		<script type="text/javascript" src="${ctx}/js/ajaxfileupload.js"></script>
		<script type="text/javascript" src="${ctx}/js/member/agent.js"></script>
	</body>
</html>
